<!DOCTYPE html>
<html lang="zh-CN" ng-app="myapp">
	<head>
		<meta charset="utf-8">
		<title>注册</title>
	</head>
	<body  >
		<div ng-controller="registerController" ng-init="user={}">
		username:<input type="text" name="username" ng-blur="checkUsername()" ng-model="user.username"/></br>
		<span>{{errMessage}}</span>
		<span>{{infoMessage}}</span>
		pwd:<input type="password" name="password" id="" value="" ng-model="user.pwd" /></br>
		<button type="button" ng-click="registerSubmit()">register</button>
		</div>
	</body>
	<script src="js/angularjs/angular.min.1.5.8.js"></script>
	<script src="js/base/base.js"></script>
	<script src="js/controller/registerController.js"></script>
	<script src="js/service/loginService.js"></script>
</html>
